emacs.git
10 years agoAvoid integer overflows in string-numeric-lessp
Lars Ingebrigtsen [Sun, 21 Feb 2016 05:28:37 +0000 (16:28 +1100)]
Avoid integer overflows in string-numeric-lessp

* src/fns.c (Fstring_numeric_lessp): If we have an integer
overflow, compare lexicographically.

10 years agoAdd the string-numeric-lessp function
Lars Ingebrigtsen [Sun, 21 Feb 2016 04:32:45 +0000 (15:32 +1100)]
Add the string-numeric-lessp function

* doc/lispref/strings.texi (Text Comparison): Document
`string-numerical-lessp'.

* src/fns.c (Fstring_numeric_lessp): New function.
(gather_number_from_string): Helper function for that function.

* test/src/fns-tests.el (fns-tests-string-numeric-lessp): Add tests.

10 years agoAdd a frame around the placeholder image in shr
Lars Ingebrigtsen [Sat, 20 Feb 2016 07:48:40 +0000 (18:48 +1100)]
Add a frame around the placeholder image in shr

* lisp/net/shr.el (shr-make-placeholder-image): Add a frame
around the image.

10 years agoUse placeholder images in shr to avoid text moving around
Lars Ingebrigtsen [Sat, 20 Feb 2016 07:01:52 +0000 (18:01 +1100)]
Use placeholder images in shr to avoid text moving around

* lisp/net/shr.el (shr-rescale-image): Pass in width/height
from the HTML.
(shr-tag-img): Ditto.
(shr-string-number): New function.
(shr-make-placeholder-image): Make placeholder images.
(shr-tag-img): Insert them if we have SVG support.

10 years agoGet explicit width/height + scale computations right
Lars Ingebrigtsen [Sat, 20 Feb 2016 06:55:43 +0000 (17:55 +1100)]
Get explicit width/height + scale computations right

* src/image.c (compute_image_size): :scale should also be
taken into account when :width and :height are explicitly names.

10 years agoNew functions for getting and setting image properties
Lars Ingebrigtsen [Sat, 20 Feb 2016 06:54:05 +0000 (17:54 +1100)]
New functions for getting and setting image properties

* doc/lispref/display.texi (Defining Images): Document
image-get/set-property.

* lisp/image.el (image-set-property): New function.
(image-get-property): Ditto.

10 years agoAwait the final mouse event in C-h c and C-h k.
Alan Mackenzie [Fri, 19 Feb 2016 17:10:57 +0000 (17:10 +0000)]
Await the final mouse event in C-h c and C-h k.

* lisp/help.el (describe-key-briefly, describe-key): On receiving a mouse
event, keep reading further events until a timeout occurs, to ensure we have
the complete mouse event from the user.

10 years agoAdd a library for creating and manipulating SVG images
Lars Ingebrigtsen [Fri, 19 Feb 2016 05:04:11 +0000 (16:04 +1100)]
Add a library for creating and manipulating SVG images

* doc/lispref/display.texi (SVG Images): New section.

* lisp/svg.el: New file.

10 years agoReference `tramp-theme' in GNU ELPA.
Michael Albinus [Thu, 18 Feb 2016 12:58:12 +0000 (13:58 +0100)]
Reference `tramp-theme' in GNU ELPA.

* doc/misc/tramp.texi (Frequently Asked Questions):
Reference `tramp-theme' in GNU ELPA.

10 years agoAdd column layout module to CSS property list
Simen Heggestøyl [Tue, 16 Feb 2016 20:52:59 +0000 (21:52 +0100)]
Add column layout module to CSS property list

* lisp/textmodes/css-mode.el (css-property-ids): Add properties from
CSS Multi-column Layout Module.

10 years agoMinor cleanup in CONTRIBUTE and test/README
Michael Albinus [Tue, 16 Feb 2016 10:23:58 +0000 (11:23 +0100)]
Minor cleanup in CONTRIBUTE and test/README

* CONTRIBUTE: Remove detailed explanation about testing; this
is now in test/README.

* test/README: Don't mention automated/ subdirectory.

10 years agoProvide 'term/name in lisp/term files.
Glenn Morris [Tue, 16 Feb 2016 05:59:40 +0000 (21:59 -0800)]
Provide 'term/name in lisp/term files.

* lisp/term/AT386.el, lisp/term/bobcat.el, lisp/term/cygwin.el:
* lisp/term/internal.el, lisp/term/iris-ansi.el, lisp/term/linux.el:
* lisp/term/lk201.el, lisp/term/news.el, lisp/term/ns-win.el:
* lisp/term/pc-win.el, lisp/term/rxvt.el, lisp/term/screen.el:
* lisp/term/sun.el, lisp/term/tty-colors.el, lisp/term/tvi970.el:
* lisp/term/vt100.el, lisp/term/vt200.el, lisp/term/w32-win.el:
* lisp/term/w32console.el, lisp/term/wyse50.el, lisp/term/x-win.el:
For consistency, provide 'term/name in all files that don't already.

10 years agoMerge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:11:03 +0000 (14:11 -0800)]
Merge from origin/emacs-25

d4b93e1 Minor fixes in global-auto-composition-mode
02b037b Allow arithmetic operators inside C++ template constructs.
44b16f6 Avoid crashes in semi-malformed 'condition-case'
652e5b4 Allow arithmetic operators inside C++ template constructs.
d9ea795 Fix regression with 'recent-keys' and keyboard macros
903603f Fix wording in a doc-view.el comment
cf79616 ; Spelling fixes
f8bf1b3 CONTRIBUTE cleanups and updates
f3aaca3 Port USE_STACK_LISP_OBJECTS fix to Clang
1834ac7 Port to x86 GCC 4.3.1 and earlier
8482949 Fix point movement under 'scroll-conservatively'
c1313b5 Replace colon in file name (not legal on Windows)
f7af26c Fix a typo in edt.texi
8badf95 Make 'mmap_realloc' on MS-Windows more reliable
856cd94 Grep alias `all' shall not match parent directory

10 years ago; Merge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:10:37 +0000 (14:10 -0800)]
; Merge from origin/emacs-25

The following commits were skipped:

cc6d906 ; Auto-commit of ChangeLog files.
1af4493 ; Auto-commit of loaddefs files.
23ca48d Bump version to 25.0.91

10 years agoMerge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:10:25 +0000 (14:10 -0800)]
Merge from origin/emacs-25

dacde7e * etc/AUTHORS: Update the AUTHORS file
478ca5d ; fix changelog entries
2b7d006 ; make change-history-commit
851decb * lisp/dired-aux.el: Require cl-lib.  (Bug#22613)
47896c8 ; Improve commentary in insdel.c
53ca1e1 Index tilde characters in names of backup files
d97f522 Document deprecation of hi-lock-mode's 'C-x w' bindings
b55f06d ; * etc/NEWS: Use double spaces to end a sentence.
28bb214 Announce that the `C-x w' bindings are deprecated
1c98f98 Suppress GNUstep hardening
d82f24b Fix redisplay after a large insertion
85a2753 Revert "Fix gnus-group-get-new-news-this-group on group with
        closed server"
e8e3db0 ; Improve merge documentation in CONTRIBUTE
5be9989 * lib-src/make-docfile.c: Include stdarg.h.
c95ebbf Extend gpm-mouse-mode's doc string and doc to point out
        limitations.

10 years ago; Merge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:09:19 +0000 (14:09 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

a91b4b5 Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"

10 years agoMerge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:09:12 +0000 (14:09 -0800)]
Merge from origin/emacs-25

f5d6b9b Revert "Support integer image rotation and respect EXIF rotations"
afe7d1f Revert "Document EXIF image rotation"
c6f377c Document OS X LANG default
eb4a18c Set locale when run from OS X GUI
456c0a3 make-docfile cleanup for I/O, etc.
25ec995 Memory-management cleanup in make-docfile
02d925e Kevin Gallagher has new email address
4ef153b Improve doc strings of 'forward/backward-word-strictly'
3ad05a0 Describe Makefile test targets in test/README

10 years ago; Merge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:08:03 +0000 (14:08 -0800)]
; Merge from origin/emacs-25

The following commit was skipped:

12c50e8 Backport: * lisp/isearch.el: Turn char-folding off by default

10 years agoMerge from origin/emacs-25
John Wiegley [Mon, 15 Feb 2016 22:07:46 +0000 (14:07 -0800)]
Merge from origin/emacs-25

10b8ed2 Document EXIF image rotation
0f60049 Support integer image rotation and respect EXIF rotations
7dd45b6 Quote table names for postgres listings (sql-mode)
6bac035 * lisp/replace.el (replace-match-maybe-edit): Make arg
        `backward' optional.
ee909aa * lisp/simple.el (next-line-or-history-element): Reset
        temporary-goal-column.
0a289d3 Suppress ACL ops if configured with --disable-acl
1a9dbf5 Mention web bugs
fa55da2 Make mm-html-blocked-images default to "" again

10 years agoMinor fixes in global-auto-composition-mode
Eli Zaretskii [Mon, 15 Feb 2016 19:46:17 +0000 (21:46 +0200)]
Minor fixes in global-auto-composition-mode

* lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
Produce prettier names of globalized minor modes.
* lisp/composite.el (global-auto-composition-mode): Make it a
globalized mode.  (Bug#22682)

10 years agoAllow arithmetic operators inside C++ template constructs.
Alan Mackenzie [Mon, 15 Feb 2016 12:45:42 +0000 (12:45 +0000)]
Allow arithmetic operators inside C++ template constructs.

Fixes debbugs #22486.  This corrects the previous patch with this message
which was empty.

* lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
variable.
(c-<>-notable-chars-re): New language variable.

* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
c-<>-notable-chars-re in place of the former fixed string in searching for
places to stop and examine.
Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
multichar operator in place of the former c->-op-without->-cont-regexp.
Add code to skip forwards over a balanced parenthesized expression.

10 years agoAvoid crashes in semi-malformed 'condition-case'
Eli Zaretskii [Mon, 15 Feb 2016 14:03:54 +0000 (16:03 +0200)]
Avoid crashes in semi-malformed 'condition-case'

* src/eval.c (internal_lisp_condition_case): Treat a handler
'(nil)' as if it were '(nil nil)'.  (Bug#22675)

10 years agoAllow arithmetic operators inside C++ template constructs.
Alan Mackenzie [Mon, 15 Feb 2016 12:45:42 +0000 (12:45 +0000)]
Allow arithmetic operators inside C++ template constructs.

Fixes debbugs #22486.

* lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
variable.
(c-<>-notable-chars-re): New language variable.

* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
c-<>-notable-chars-re in place of the former fixed string in searching for
places to stop and examine.
Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
multichar operator in place of the former c->-op-without->-cont-regexp.
Add code to skip forwards over a balanced parenthesized expression.

10 years agoFix regression with 'recent-keys' and keyboard macros
Eli Zaretskii [Mon, 15 Feb 2016 12:03:57 +0000 (14:03 +0200)]
Fix regression with 'recent-keys' and keyboard macros

* src/keyboard.c (record_char): Don't record in 'recent_keys'
events that come from executing keyboard macros.  (Bug#22674)

10 years agoFix wording in a doc-view.el comment
Eli Zaretskii [Mon, 15 Feb 2016 11:09:46 +0000 (13:09 +0200)]
Fix wording in a doc-view.el comment

* lisp/doc-view.el (doc-view--current-cache-dir): Don't use
"illegal" for something that is not against the law.

10 years ago; Spelling fixes
Paul Eggert [Mon, 15 Feb 2016 03:44:38 +0000 (19:44 -0800)]
; Spelling fixes

10 years agoCONTRIBUTE cleanups and updates
Paul Eggert [Mon, 15 Feb 2016 03:24:38 +0000 (19:24 -0800)]
CONTRIBUTE cleanups and updates

* CONTRIBUTE: Mention URLs and info nodes more consistently,
avoiding possibly-confusing punctuation adjacent to a URL, and
giving full shell commands for 'info'.  Start with a brief but
complete how-to, for people who want to get started right away.
Then briefly discuss how to join the development process in the
typical order.  Omit needless words.  Update some of the
now-obsolete file names, info node names, and quoting styles.
Better document emacs-NN branches and how they are merged.
* admin/notes/git-workflow: Change emacs-24 to emacs-25,
and trunk to master.  This file still needs work.

10 years agoPort USE_STACK_LISP_OBJECTS fix to Clang
Paul Eggert [Sun, 14 Feb 2016 19:42:36 +0000 (11:42 -0800)]
Port USE_STACK_LISP_OBJECTS fix to Clang

* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
Recent versions of Clang claim to be GCC 4.2.1 but do not have
the GCC bug.

10 years agoAdd fragmentation module to CSS property list
Simen Heggestøyl [Sun, 14 Feb 2016 19:31:46 +0000 (20:31 +0100)]
Add fragmentation module to CSS property list

* lisp/textmodes/css-mode.el (css-property-ids): Add properties from
CSS Fragmentation Module Level 3.

10 years agoPort to x86 GCC 4.3.1 and earlier
Paul Eggert [Sun, 14 Feb 2016 19:19:39 +0000 (11:19 -0800)]
Port to x86 GCC 4.3.1 and earlier

This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
for GCC 4.3.1 and earlier.

10 years agoFix point movement under 'scroll-conservatively'
Eli Zaretskii [Sun, 14 Feb 2016 19:20:48 +0000 (21:20 +0200)]
Fix point movement under 'scroll-conservatively'

* src/xdisp.c (redisplay_window): Correct a typo in computing the
effective number of text lines in a window.  (Bug#22637)

10 years agoReplace colon in file name (not legal on Windows)
Thomas Plass [Sun, 14 Feb 2016 18:56:46 +0000 (19:56 +0100)]
Replace colon in file name (not legal on Windows)

* lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
name (not legal on Windows). [tiny change]

10 years agoFix a typo in edt.texi
Eli Zaretskii [Sun, 14 Feb 2016 18:14:32 +0000 (20:14 +0200)]
Fix a typo in edt.texi

* doc/misc/edt.texi: Fix a typo in an email address.  Reported by
"Herbert J. Skuhra" <herbert@mailbox.org>.

10 years agoMake 'mmap_realloc' on MS-Windows more reliable
Eli Zaretskii [Sun, 14 Feb 2016 17:46:29 +0000 (19:46 +0200)]
Make 'mmap_realloc' on MS-Windows more reliable

* src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
committing fails, return NULL.  Don't call GetLastError twice for
the same API error.
(mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
before calling VirtualQuery, to avoid using garbled values if the
call fails.  If committing more pages from the same block fails,
fall back on mmap_alloc + CopyMemory.  Enhance debugging printouts
if the call to VirtualAlloc to commit more pages fails.
(Bug#22526)

10 years agoGrep alias `all' shall not match parent directory
Oscar Fuentes [Sun, 14 Feb 2016 15:14:33 +0000 (16:14 +0100)]
Grep alias `all' shall not match parent directory

* lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
  directory for `all'. Fixes bug#22577

10 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 14 Feb 2016 12:26:10 +0000 (07:26 -0500)]
; Auto-commit of ChangeLog files.

10 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sun, 14 Feb 2016 12:25:34 +0000 (07:25 -0500)]
; Auto-commit of loaddefs files.

10 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 14 Feb 2016 11:24:15 +0000 (06:24 -0500)]
; Auto-commit of ChangeLog files.

10 years ago* doc/lispref/sequences.texi: Add documentation for seq-map-indexed
Nicolas Petton [Sun, 14 Feb 2016 09:28:26 +0000 (10:28 +0100)]
* doc/lispref/sequences.texi: Add documentation for seq-map-indexed

10 years agoNew function seq-map-indexed
Nicolas Petton [Sun, 14 Feb 2016 09:25:10 +0000 (10:25 +0100)]
New function seq-map-indexed

* lisp/emacs-lisp/seq.el (seq-map-indexed): New function.
* test/lisp/emacs-lisp/seq-tests.el: Add tests for seq-map-indexed.

10 years ago* lisp/gnus/mm-util.el: Remove the mm-string-as-multibyte alias.
Lars Ingebrigtsen [Sun, 14 Feb 2016 07:21:56 +0000 (18:21 +1100)]
* lisp/gnus/mm-util.el: Remove the mm-string-as-multibyte alias.

10 years agoFix problem with wrong encoding of non-ASCII message bodies
Lars Ingebrigtsen [Sun, 14 Feb 2016 06:47:33 +0000 (17:47 +1100)]
Fix problem with wrong encoding of non-ASCII message bodies

* lisp/gnus/mml.el (mml-generate-mime-1): Disable
multibyteness before encoding the data.

10 years agoRemove codepage setup code from mm-util
Lars Ingebrigtsen [Sun, 14 Feb 2016 06:19:24 +0000 (17:19 +1100)]
Remove codepage setup code from mm-util

* lisp/gnus/mm-util.el (mm-codepage-setup): Remove.
(mm-codepage-iso-8859-list): Remove.
(mm-codepage-ibm-list, mm-setup-codepage-iso-8859)
(mm-setup-codepage-ibm): Remove.
(mm-charset-eval-alist): Remove the code pages from the
default value.

10 years agoRemove compat code for older Emacsen
Lars Ingebrigtsen [Sun, 14 Feb 2016 06:07:48 +0000 (17:07 +1100)]
Remove compat code for older Emacsen

* lisp/gnus/gnus-art.el (gnus-button-url-regexp): Remove
XEmacs compat code.

* lisp/gnus/gnus-sync.el (gnus-sync-json-alist-p): Remove
unused compat function.
(gnus-sync-json-plist-p): Ditto.

* lisp/gnus/message.el (message-default-charset): Make obsolete.
(message-info): Remove compat code.
(message-setup-fill-variables): Remove kludge needed earlier
to not overwrite `normal-auto-fill-function'.
(message-split-line): Remove compat code.

* lisp/gnus/mm-view.el (mm-display-inline-fontify): Remove
compat code.

10 years agoRemove some compat functions from gmm-utils.el
Lars Ingebrigtsen [Sun, 14 Feb 2016 05:35:24 +0000 (16:35 +1100)]
Remove some compat functions from gmm-utils.el

* lisp/gnus/gmm-utils.el (gmm-tool-bar-from-list): Remove
compat code.
(gmm-image-search-load-path): Remove.
(gmm-image-load-path-for-library): Remove.

10 years agoRemove the gmm-lazy and nnmail-lazy compat widgets
Lars Ingebrigtsen [Sun, 14 Feb 2016 05:29:53 +0000 (16:29 +1100)]
Remove the gmm-lazy and nnmail-lazy compat widgets

* lisp/gnus/gmm-utils.el (gmm-lazy): Remove.

* lisp/gnus/nnmail.el (nnmail-lazy): Remove.

10 years agoClean up nnimap-request-move-article slightly
Lars Ingebrigtsen [Sun, 14 Feb 2016 04:41:02 +0000 (15:41 +1100)]
Clean up nnimap-request-move-article slightly

* lisp/gnus/nnheader.el (subr-x): Require.

* lisp/gnus/nnimap.el (nnimap-request-move-article): Clean up
the code slightly.

10 years agoUse open-network-stream instead of open-protocol-stream
Lars Ingebrigtsen [Sun, 14 Feb 2016 04:08:40 +0000 (15:08 +1100)]
Use open-network-stream instead of open-protocol-stream

* lisp/gnus/nnimap.el: Use open-network-stream instead of
open-protocol-stream.

* lisp/gnus/nntp.el: Ditto.

* lisp/gnus/pop3.el: Ditto.

* lisp/gnus/sieve-manage.el: Ditto.

* lisp/net/network-stream.el (open-protocol-stream): Make obsolete.

10 years agoRemove compat code that relies on (featurep 'mule)
Lars Ingebrigtsen [Sun, 14 Feb 2016 04:02:59 +0000 (15:02 +1100)]
Remove compat code that relies on (featurep 'mule)

* lisp/gnus/gnus-group.el (gnus-group-name-decode): Remove
compat code.

* lisp/gnus/gnus-start.el (gnus-read-descriptions-file):
Remove compat code.

* lisp/gnus/mm-bodies.el (mm-decode-body, mm-decode-string):
Remove compat code.

* lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
Remove compat code.
(mm-w3m-standalone-supports-m17n-p): Ditto.

10 years agoRemove compat functions from starttls.el
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:59:40 +0000 (14:59 +1100)]
Remove compat functions from starttls.el

* lisp/gnus/starttls.el
(starttls-set-process-query-on-exit-flag): Remove.

10 years agoRemove compat functions from smime.el
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:58:39 +0000 (14:58 +1100)]
Remove compat functions from smime.el

* lisp/gnus/smime.el (smime-replace-in-string): Remove.
(smime-make-temp-file): Remove.

10 years agoRemove compat code from smiley
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:56:21 +0000 (14:56 +1100)]
Remove compat code from smiley

* lisp/gnus/smiley.el (smiley-style): Remove compat code.

10 years agoRemove compat code from rfc2047
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:54:28 +0000 (14:54 +1100)]
Remove compat code from rfc2047

* lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Remove
compat code.
(rfc2047-decode-string): Ditto.

10 years agoRemove compat function from pop3
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:50:53 +0000 (14:50 +1100)]
Remove compat function from pop3

* lisp/gnus/pop3.el (pop3-set-process-query-on-exit-flag): Remove.

10 years agoRemove compat code in Gnus backends
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:50:03 +0000 (14:50 +1100)]
Remove compat code in Gnus backends

* lisp/gnus/nndiary.el (nndiary-error): Remove.

* lisp/gnus/nndraft.el (nndraft-request-associate-buffer): Ditto.

* lisp/gnus/nnfolder.el (nnfolder-read-folder): Ditto.

* lisp/gnus/nnheader.el (nnheader-find-file-noselect): Ditto.

* lisp/gnus/nnimap.el (nnimap-log-buffer): Remove compat code.

10 years agoRemove compat code from some mml files
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:42:26 +0000 (14:42 +1100)]
Remove compat code from some mml files

* lisp/gnus/mml-sec.el (mml-secure-passphrase-cache-expiry):
Remove compat code.

* lisp/gnus/mml-smime.el (mml-smime-openssl-sign-query):
Always use `mail-extract-address-components', since this isn't
time critical.
(mml-smime-get-dns-cert): Ditto.

* lisp/gnus/mml.el (mml-preview): Remove compat code.

10 years agoRemove compat code and compat functions from mm-util.el
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:36:57 +0000 (14:36 +1100)]
Remove compat code and compat functions from mm-util.el

* lisp/gnus/mm-util.el (mm-mime-mule-charset-alist): Remove
compat code.
(mm-coding-system-priorities)
(mm-mule-charset-to-mime-charset, mm-charset-after)
(mm-mime-charset, mm-iso-8859-x-to-15-region): Remove compat code.
(mm-detect-coding-region): Define unconditionally.
(mm-detect-mime-charset-region): Ditto.
(mm-coding-system-to-mime-charset): It's 'mime-charset now.
(coding-system-name)
(find-file-coding-system-for-read-from-filename)
(find-operation-coding-system): Remove aliases.

10 years agoRemove some compat code from mm-*.el
Lars Ingebrigtsen [Sun, 14 Feb 2016 03:06:23 +0000 (14:06 +1100)]
Remove some compat code from mm-*.el

* lisp/gnus/mm-bodies.el (mm-decode-body): Ditto.

* lisp/gnus/mm-decode.el (mm-tmp-directory)
(mm-valid-image-format-p): Remove compat code.

* lisp/gnus/mm-url.el (mm-url-insert-file-contents): Remove
"Connection" "Close" workaround for older Emacsen.

10 years agoRemove compat code and functions from message.el
Lars Ingebrigtsen [Sun, 14 Feb 2016 02:57:55 +0000 (13:57 +1100)]
Remove compat code and functions from message.el

* lisp/gnus/message.el (message-send-mail-function): Remove
compat code.
(message-dont-reply-to-names, message-mode)
(message-setup-fill-variables, message-fill-paragraph)
(message-remove-blank-cited-lines, message-make-from)
(message-forward-rmail-make-body, message-tool-bar-gnome)
(message-tab): Remove compat code.
(message-completion-in-region): Remove.
(message-read-from-minibuffer): Remove compat code.

10 years agoDeclare rfc1843 instead of autoloading
Lars Ingebrigtsen [Sun, 14 Feb 2016 02:04:15 +0000 (13:04 +1100)]
Declare rfc1843 instead of autoloading

* lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare
instead of autoload.

10 years agoBump version to 25.0.91
Nicolas Petton [Sat, 13 Feb 2016 19:30:37 +0000 (20:30 +0100)]
Bump version to 25.0.91

* README:
* configure.ac:
* msdos/sed2v2.inp: Bump version to 25.0.91.

10 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sat, 13 Feb 2016 19:30:18 +0000 (20:30 +0100)]
* etc/AUTHORS: Update the AUTHORS file

10 years ago; fix changelog entries
Nicolas Petton [Sat, 13 Feb 2016 19:28:54 +0000 (20:28 +0100)]
; fix changelog entries

10 years ago; make change-history-commit
Nicolas Petton [Sat, 13 Feb 2016 18:29:35 +0000 (19:29 +0100)]
; make change-history-commit

10 years ago* lisp/dired-aux.el: Require cl-lib. (Bug#22613)
Glenn Morris [Sat, 13 Feb 2016 18:18:17 +0000 (13:18 -0500)]
* lisp/dired-aux.el: Require cl-lib.  (Bug#22613)

10 years agoAvoid signaling an error in 'dired-do-find-regexp-and-replace'
Eli Zaretskii [Sat, 13 Feb 2016 18:11:13 +0000 (20:11 +0200)]
Avoid signaling an error in 'dired-do-find-regexp-and-replace'

* lisp/dired-aux.el: Require cl-lib, so that 'cl-mapcan' is
autoloaded correctly.  (Bug#22613)

10 years ago; Improve commentary in insdel.c
Eli Zaretskii [Sat, 13 Feb 2016 15:48:38 +0000 (17:48 +0200)]
; Improve commentary in insdel.c

* src/insdel.c (gap_left, gap_right, make_gap_larger)
(make_gap_smaller): Improve commentary.

10 years agoIndex tilde characters in names of backup files
Eli Zaretskii [Sat, 13 Feb 2016 13:36:38 +0000 (15:36 +0200)]
Index tilde characters in names of backup files

* doc/emacs/files.texi (Backup Names): Improve indexing.
(Bug#22625)

10 years agoFix network-stream-tests.el for MS-Windows
Eli Zaretskii [Sat, 13 Feb 2016 13:17:51 +0000 (15:17 +0200)]
Fix network-stream-tests.el for MS-Windows

* test/lisp/net/network-stream-tests.el
(connect-to-tls-ipv6-nowait): Skip for MS-Windows builds.
(connect-to-tls-ipv4-wait): Add a 0.1 sleep-for.

10 years agoDocument deprecation of hi-lock-mode's 'C-x w' bindings
Eli Zaretskii [Sat, 13 Feb 2016 09:02:28 +0000 (11:02 +0200)]
Document deprecation of hi-lock-mode's 'C-x w' bindings

* doc/emacs/display.texi (Highlight Interactively): Deprecate the
"C-x w" bindings of hi-lock-mode.

* etc/NEWS: Mark the deprecation entry as documented.

10 years agoRemove some Message compat functions
Lars Ingebrigtsen [Sat, 13 Feb 2016 08:00:04 +0000 (19:00 +1100)]
Remove some Message compat functions

* lisp/gnus/message.el (message-kill-all-overlays): Define
unconditionally.
(message-window-inside-pixel-edges): Remove.
(mail-dont-reply-to): Remove.

10 years agoRemove some Gnus compat code
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:57:01 +0000 (18:57 +1100)]
Remove some Gnus compat code

* lisp/gnus/gnus-art.el (gnus-mime-inline-part): Remove compat code.
(gnus-mm-display-part): Ditto.

* lisp/gnus/gnus-start.el (gnus-dribble-read-file): Remove
compat code.

10 years agoSort groups before inserting them into the group buffer
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:45:11 +0000 (18:45 +1100)]
Sort groups before inserting them into the group buffer

* lisp/gnus/gnus-group.el (gnus-group-describe-all-groups):
Sort groups before inserting them.

10 years agoMake "unseen" tracking work again in Gnus
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:20:55 +0000 (18:20 +1100)]
Make "unseen" tracking work again in Gnus

* lisp/gnus/gnus-sum.el (gnus-update-marks): Make "unseen"
tracking work again.

10 years agoRemove Gnus compat functions defined in gnus.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 07:13:03 +0000 (18:13 +1100)]
Remove Gnus compat functions defined in gnus.el

* lisp/gnus/gnus.el (gnus-extent-detached-p): Remove.
(gnus-extent-start-open, gnus-character-to-event)
(gnus-assq-delete-all, gnus-add-text-properties)
(gnus-put-text-property, gnus-key-press-event-p):

10 years agoRemove compat code from gnus-uu and win
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:58:41 +0000 (17:58 +1100)]
Remove compat code from gnus-uu and win

* lisp/gnus/gnus-util.el (gnus-image-type-available-p): Remove
compat code.

* lisp/gnus/gnus-uu.el (gnus-uu-tmp-dir): Remove compat code.

* lisp/gnus/gnus-win.el (gnus-frames-on-display-list): Remove.

10 years agoRemove several gnus-util compat functions
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:40:34 +0000 (17:40 +1100)]
Remove several gnus-util compat functions

* lisp/gnus/gnus-util.el (gnus-set-process-query-on-exit-flag): Remove.
(gnus-read-shell-command): Remove.
(gnus-match-substitute-replacement): Remove.
(gnus-string-match-p): Remove.
(gnus-string-prefix-p): Remove.

10 years agoRemove the gnus-merge alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:35:04 +0000 (17:35 +1100)]
Remove the gnus-merge alias

* lisp/gnus/gnus-util.el (gnus-merge): Remove.

10 years agoRemove the gnus-union alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:33:25 +0000 (17:33 +1100)]
Remove the gnus-union alias

* lisp/gnus/gnus-util.el (gnus-union): Remove.

10 years agoRemove the gnus-delete-alist alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:31:10 +0000 (17:31 +1100)]
Remove the gnus-delete-alist alias

* lisp/gnus/gnus-util.el (gnus-run-mode-hooks): Remove compat code.
(gnus-delete-alist): Remove.

10 years agoRemove the gnus-float-time alias
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:27:26 +0000 (17:27 +1100)]
Remove the gnus-float-time alias

* lisp/gnus/gnus-util.el (gnus-completion-styles): Remove
compat code.
(gnus-float-time): Remove.

10 years agoRemove compat code from gnus-srvr, start and sum
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:24:26 +0000 (17:24 +1100)]
Remove compat code from gnus-srvr, start and sum

* lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Remove
compat code.

* lisp/gnus/gnus-start.el (gnus-check-reasonable-setup):
Remove compat code.

* lisp/gnus/gnus-sum.el (gnus-summary-display-arrow)
(gnus-summary-make-menu-bar, gnus-summary-make-tool-bar)
(gnus-recenter)
(gnus-summary-limit-strange-charsets-predicate)
(gnus-summary-show-thread): Remove compat code.

10 years agoRemove compat code from gnus-spec.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:13:35 +0000 (17:13 +1100)]
Remove compat code from gnus-spec.el

* lisp/gnus/gnus-spec.el (gnus-lrm-string-p): Remove compat code.
(gnus-balloon-face-function): Remove compat code.

10 years agoFix compat change in last check-in
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:04:00 +0000 (17:04 +1100)]
Fix compat change in last check-in

* lisp/gnus/gnus-group.el
(gnus-group-name-charset-group-alist): `find-coding-system'
doesn't exist in Emacs.

10 years agoAlways use url-queue
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:01:31 +0000 (17:01 +1100)]
Always use url-queue

* lisp/gnus/gnus-html.el (gnus-html-schedule-image-fetching):
Always use url-queue.

10 years agoRemove compat functions from gnus-html.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 06:00:05 +0000 (17:00 +1100)]
Remove compat functions from gnus-html.el

* lisp/gnus/gnus-html.el (gnus-html-encode-url-chars): Remove.

10 years agoRemove compat code from gnus-group.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:58:25 +0000 (16:58 +1100)]
Remove compat code from gnus-group.el

* lisp/gnus/gnus-group.el (gnus-group-name-charset-group-alist)
(gnus-group-make-tool-bar, gnus-group-update-tool-bar): Remove compat code.

10 years agoDefine gnus-diary-kill-entire-line unconditionally
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:52:47 +0000 (16:52 +1100)]
Define gnus-diary-kill-entire-line unconditionally

* lisp/gnus/gnus-diary.el (gnus-diary-kill-entire-line):
Define unconditionally.

10 years ago; * etc/NEWS: Use double spaces to end a sentence.
Xue Fuqiao [Sat, 13 Feb 2016 05:51:09 +0000 (13:51 +0800)]
; * etc/NEWS: Use double spaces to end a sentence.

10 years agoRemove compat code from gnus-cache and gnus-bookmark
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:50:56 +0000 (16:50 +1100)]
Remove compat code from gnus-cache and gnus-bookmark

* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Ditto.

* lisp/gnus/gnus-cache.el (gnus-cache-decoded-group-name):
Remove compat code.

10 years agoRemove compat code from gnus-art.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:49:09 +0000 (16:49 +1100)]
Remove compat code from gnus-art.el

* lisp/gnus/gnus-art.el (gnus-article-prepare)
(gnus-mime-copy-part, gnus-output-to-file)
(gnus-article-reply-with-original)
(gnus-button-handle-apropos-variable)
(gnus-button-handle-apropos-documentation):

10 years agoRemove compat code from gnus-agent.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:42:40 +0000 (16:42 +1100)]
Remove compat code from gnus-agent.el

* lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string):
Remove compat code.

10 years agoRewrite gmm-labels usage to use cl-labels
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:40:17 +0000 (16:40 +1100)]
Rewrite gmm-labels usage to use cl-labels

* lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Remove compat code.
(gmm-labels): Remove.

10 years agoRemove compat code from canlock.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:29:13 +0000 (16:29 +1100)]
Remove compat code from canlock.el

* lisp/gnus/canlock.el (defmacro): Remove

10 years agoRemove compat code from auth-source
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:28:26 +0000 (16:28 +1100)]
Remove compat code from auth-source

* lisp/gnus/auth-source.el (auth-source-read-char-choice):
Remove compat code.

10 years agoFix gnus-group.el compilation warnings about unprefixed variables
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:20:34 +0000 (16:20 +1100)]
Fix gnus-group.el compilation warnings about unprefixed variables

* lisp/gnus/gnus-group.el (gnus-group-update-eval-form): Avoid
compilation warnings by passing in the dynamic variables as
explicit lexical parameters to `eval'.

10 years agoFix the :tracker slot name
Lars Ingebrigtsen [Sat, 13 Feb 2016 05:05:32 +0000 (16:05 +1100)]
Fix the :tracker slot name

* lisp/gnus/registry.el (registry-lookup-secondary): The
`tracker' slot is called `tracker', not `:tracker'.

10 years agoFix compilation warnings in gnus-art.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 04:58:24 +0000 (15:58 +1100)]
Fix compilation warnings in gnus-art.el

* lisp/gnus/gnus-art.el (rfc1843-decode-region): Autoload.
(gnus-article-hide): Avoid compilation warnings.

10 years agoFix compilation warning in gnus-score.el
Lars Ingebrigtsen [Sat, 13 Feb 2016 04:20:16 +0000 (15:20 +1100)]
Fix compilation warning in gnus-score.el

* lisp/gnus/gnus-score.el (gnus-art): Require to silence byte
compiler.

10 years agoRevert "Fix gnus-group-get-new-news-this-group on group with closed server"
Andreas Schwab [Sun, 7 Feb 2016 12:29:16 +0000 (13:29 +0100)]
Revert "Fix gnus-group-get-new-news-this-group on group with closed server"

This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.

This makes nnimap groups not be activated.